<?php
namespace App\Middleware;

use Closure;

class Test
{
	

    /**
     * 处理传入的请求
     *
     * @param  \Framework\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
    	// echo '这里是中间件1<br>';
        $request->uid = 9999;

        return $next();
    }

}